<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class SeedPointsNumDataToConfigsTable extends Migration
{
    public function up()
    {
        $data[] = [
            'type'  => 1,
            'flag'  => 'points_num_config',
            'value' => json_encode(['g' => 1]),
            'remark' => '积分获取数量配置',
        ];

        DB::table('configs')->insert($data);
    }

    public function down()
    {

    }
}
